<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{$C.webtitle}</title>
<meta content="{$C.webkeywords}" name="Keywords">
<meta name="description" content="{$C.webdescription}" />
<script src="./Public/js/jquery.js"></script>
<script src="./Public/js/common.js"></script>
<script src="./Public/js/tbox/box.js"></script>
<script src="__PUBLIC__/js/jquery.js"></script>
<link href="./Public/js/tbox/box.css" rel="stylesheet" type="text/css" />
<link href="__PUBLIC__/index.css" rel="stylesheet" type="text/css" />
<script type="text/javascript">
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}
</script>
</head>
<div id="pcbg">
<body onload="MM_preloadImages('__PUBLIC__/img/grsyhover.jpg','__PUBLIC__/img/tdwdhover.png')">
<include file="Public:header"/>

<div id="pcmain">
  <div id="pcmainleft">
    <div id="pcmainleft1">
  <a href="{:U('grwbsy')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image8','','__PUBLIC__/img/grsyhover.png',1)"><img src="__PUBLIC__/img/grsy.jpg" name="Image8" width="17" height="16" border="0" id="Image8" />
  个人首页</a>
  <a href="{:U('pcxx')}" class="pclb1"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image11','','__PUBLIC__/img/sxhover.png',1)"><img src="__PUBLIC__/img/sx.jpg" name="Image11" width="17" height="11" border="0" id="Image11"/>
  私信</a>
  <a href="{:U('tdwd')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image9','','__PUBLIC__/img/tdwdhover.png',1)"><img src="__PUBLIC__/img/tdwd.jpg" name="Image9" width="17" height="15" border="0" id="Image9" />
  提到我的</a>
  <a href="{:U('pl')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image10','','__PUBLIC__/img/plhover.png',1)"><img src="__PUBLIC__/img/pl.jpg" name="Image10" width="17" height="14" border="0" id="Image10"/>
  评论</a>
  <a href="{:U('sc')}" class="pclb1"onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image14','','__PUBLIC__/img/schover.png',1)"><img src="__PUBLIC__/img/sc.jpg" name="Image14" width="17" height="15" border="0" id="Image14"/>
  收藏</a>
  </div><!--pcmainleft1-->
  <div id="pcmainleft2">
  <a href="{:U('grsz')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image12','','__PUBLIC__/img/szhover.png',1)"><img src="__PUBLIC__/img/sz.jpg" name="Image12" width="17" height="19" border="0" id="Image12"/>
  个人设置</a>
  <a href="{:U('hy')}" class="pclb1" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Image13','','__PUBLIC__/img/hyhover.png',1)"><img src="__PUBLIC__/img/hy.jpg" name="Image13" width="17" height="16" border="0" id="Image13"/>
  好友</a>
  </div><!--pcmainleft2-->
  <div id="pcmainleft3">
  <a href="{:U('aqzx')}" class="pclb2"><img src="__PUBLIC__/img/aqzxhover.png" width="17" height="13" />
  安全中心</a>
  </div><!--pcmainleft3-->
  </div>


  <div id="pcmainright">
    <div id="scpcmainright1">
      <div id="scpcmainright1-1">安全中心</div>
    </div>
    <div id="pcmainright2">
<form method="post" action="{:U('aqzx_do')}" onsubmit="return checkaq();">

      <div class="aqzx"><ul>
          <li>
              <span class="grsz1mc">原密码:</span>
              <input name="user_passy" type="password" id="user_passyaq" onblur="checkaq()" style="width:278px;height:29px;float:left;border:1px solid #9fa0a0;padding-left:10px;" /><span id="gai_user_passyaq" style="font-size:12px;"></span>
          </li>
          <li>
              <span class="grsz1mc">新密码:</span>
              <input type="password" name="user_pass" id="user_passaq" onblur="checkaq()" style="width:278px;height:29px;float:left;border:1px solid #9fa0a0;padding-left:10px;" /><span id="gai_user_passaq" style="font-size:12px;">请输入不低于6位的英文数字混合的密码</span>
          </li>
          <li>
              <span class="grsz1mc">确认密码:</span>
              <input type="password" name="user_pass2" id="user_pass2aq" onblur="checkaq()" style="width:278px;height:29px;float:left;border:1px solid #9fa0a0;padding-left:10px;" /><span id="gai_user_pass2aq" style="font-size:12px;"></span>
          </li>
      </ul>
        <div class="aqzx2">
			<input type="submit" name="Button1" value="" class="formInput01" style="margin-left:190px;cursor:pointer;width:109px;height:36px;background:url(__PUBLIC__/img/mbbaocun.jpg) no-repeat;border:none;"/>

      <!--<a href="#"><img src="__PUBLIC__/img/mbbaocun.jpg" width="109" height="36" /></a>
      -->
      <!--<a href="#"><img src="__PUBLIC__/img/mbquxiao.jpg" width="109" height="36" /></a>-->
        </div>
      </div>
</form>     
    </div><!--pcmainright2-->
  </div>
  <div id="pcmaindi"></div>
</div>
<include file="Public:bottom"/>

</div><!--pcbg-->
</body>
</html>
<script>
function checkaq(){
	
	var user_passyaq=$('#user_passyaq').val();
	if(user_passyaq==''){
		$('#gai_user_passyaq').css('color','#f00');
		$('#gai_user_passyaq').html('请输入原密码');
		return false;
	}
    
	var user_passaq=$('#user_passaq').val();	
	if(user_passaq.length<6){
		$('#gai_user_passaq').css('color','#f00');
		$('#gai_user_passaq').html('密码长度必须大于6位');
		return false;
	}else{
		$('#gai_user_passaq').css('color','#0dbe2a');
		$('#gai_user_passaq').html('输入正确');
	}


	var user_pass2aq=$('#user_pass2aq').val();
	if(user_pass2aq==''){
		$('#gai_user_pass2aq').css('color','#f00');
		$('#gai_user_pass2aq').html('请确认密码');
		return false;
	}
	if(user_pass2aq!=user_passaq){
		$('#gai_user_pass2aq').css('color','#f00');
		$('#gai_user_pass2aq').html('两次密码不一致');
		return false;
	}else{
		$('#gai_user_pass2aq').css('color','#0dbe2a');
		$('#gai_user_pass2aq').html('输入正确');
	}

}
</script>